find the perimeter of each figure